# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(bugsnag_root_detection)
add_library( # Specifies the name of the library.
             bugsnag-root-detection
             # Sets the library as a shared library.
             SHARED
             # Provides a relative path to your source file(s).
    jni/root_detection.c
    )
include_directories(jni)

set_target_properties(bugsnag-root-detection
                      PROPERTIES
                      COMPILE_OPTIONS
                      -Werror -Wall -pedantic)
